home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tex / inputs / shadow.sty < prev    next >
LaTeX Document  |  1991-05-21  |  2.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: shadow.sty

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert Grand Theft Auto 2 Style data (other/grandTheftAuto2StyleData) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert MAGIX music studio Style (other/magixMusicStudioStyle) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 0a 25 20 46 69 6c 65 | 3a 20 20 20 20 20 53 48 |%.% File|: SH|
|00000010| 41 44 4f 57 2e 53 54 59 | 0a 25 20 20 20 20 20 20 |ADOW.STY|.% |
|00000020| 20 20 20 20 20 28 61 64 | 61 70 74 65 64 20 66 72 | (ad|apted fr|
|00000030| 6f 6d 20 74 68 65 20 66 | 69 6c 65 20 64 72 6f 70 |om the f|ile drop|
|00000040| 73 68 61 64 6f 77 2e 74 | 65 78 20 62 79 20 64 72 |shadow.t|ex by dr|
|00000050| 73 74 72 69 70 40 63 64 | 2e 73 61 6e 64 69 61 2e |strip@cd|.sandia.|
|00000060| 67 6f 76 29 0a 25 0a 25 | 20 43 72 65 61 74 69 6f |gov).%.%| Creatio|
|00000070| 6e 20 64 61 74 65 3a 20 | 36 20 4a 75 6e 65 20 31 |n date: |6 June 1|
|00000080| 39 39 30 0a 25 20 0a 25 | 20 41 62 73 74 72 61 63 |990.% .%| Abstrac|
|00000090| 74 3a 20 54 68 65 20 63 | 6f 6d 6d 61 6e 64 20 5c |t: The c|ommand \|
|000000a0| 73 68 61 62 6f 78 20 68 | 61 73 20 74 68 65 20 73 |shabox h|as the s|
|000000b0| 61 6d 65 20 6d 65 61 6e | 69 6e 67 20 6f 66 20 74 |ame mean|ing of t|
|000000c0| 68 65 20 4c 61 54 65 58 | 20 63 6f 6d 6d 61 6e 64 |he LaTeX| command|
|000000d0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 5c 66 62 |.% | \fb|
|000000e0| 6f 78 20 65 78 63 65 70 | 74 20 66 6f 72 20 74 68 |ox excep|t for th|
|000000f0| 65 20 66 61 63 74 20 74 | 68 61 74 20 61 20 22 73 |e fact t|hat a "s|
|00000100| 68 61 64 6f 77 22 20 69 | 73 20 61 64 64 65 64 20 |hadow" i|s added |
|00000110| 74 6f 20 74 68 65 0a 25 | 20 20 20 20 20 20 20 20 |to the.%| |
|00000120| 20 20 20 62 6f 74 74 6f | 6d 20 61 6e 64 20 74 68 | botto|m and th|
|00000130| 65 20 72 69 67 68 74 20 | 73 69 64 65 20 6f 66 20 |e right |side of |
|00000140| 74 68 65 20 62 6f 78 2e | 0a 25 20 20 20 20 20 20 |the box.|.% |
|00000150| 20 20 20 20 20 49 74 20 | 63 6f 6d 70 75 74 65 73 | It |computes|
|00000160| 20 74 68 65 20 72 69 67 | 68 74 20 64 69 6d 65 6e | the rig|ht dimen|
|00000170| 73 69 6f 6e 20 6f 66 20 | 74 68 65 20 62 6f 78 2c |sion of |the box,|
|00000180| 20 61 6c 73 6f 20 69 66 | 20 74 68 65 20 74 65 78 | also if| the tex|
|00000190| 74 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 73 70 |t.% | sp|
|000001a0| 61 6e 73 20 6f 76 65 72 | 20 6d 6f 72 65 20 74 68 |ans over| more th|
|000001b0| 61 6e 20 6f 6e 65 20 6c | 69 6e 65 3b 20 69 6e 20 |an one l|ine; in |
|000001c0| 74 68 69 73 20 63 61 73 | 65 20 61 20 77 61 72 6e |this cas|e a warn|
|000001d0| 69 6e 67 20 6d 65 73 73 | 61 67 65 0a 25 20 20 20 |ing mess|age.% |
|000001e0| 20 20 20 20 20 20 20 20 | 69 73 20 67 69 76 65 6e | |is given|
|000001f0| 2e 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 54 68 |..% | Th|
|00000200| 65 72 65 20 61 72 65 20 | 74 68 72 65 65 20 70 61 |ere are |three pa|
|00000210| 72 61 6d 65 74 65 72 73 | 20 67 6f 76 65 72 6e 69 |rameters| governi|
|00000220| 6e 67 3a 0a 25 20 20 20 | 20 20 20 20 20 31 2e 20 |ng:.% | 1. |
|00000230| 74 68 65 20 77 69 64 74 | 68 20 6f 66 20 74 68 65 |the widt|h of the|
|00000240| 20 6c 69 6e 65 73 20 63 | 6f 6d 70 72 69 73 69 6e | lines c|omprisin|
|00000250| 67 20 74 68 65 20 62 6f | 78 20 2d 3e 20 5c 73 62 |g the bo|x -> \sb|
|00000260| 6f 78 72 75 6c 65 0a 25 | 20 20 20 20 20 20 20 20 |oxrule.%| |
|00000270| 32 2e 20 74 68 65 20 73 | 65 70 61 72 61 74 69 6f |2. the s|eparatio|
|00000280| 6e 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 65 64 |n betwee|n the ed|
|00000290| 67 65 20 6f 66 20 74 68 | 65 20 62 6f 78 0a 25 20 |ge of th|e box.% |
|000002a0| 20 20 20 20 20 20 20 20 | 20 20 61 6e 64 20 69 74 | | and it|
|000002b0| 73 20 63 6f 6e 74 65 6e | 74 73 20 2d 3e 20 5c 73 |s conten|ts -> \s|
|000002c0| 62 6f 78 73 65 70 0a 25 | 20 20 20 20 20 20 20 20 |boxsep.%| |
|000002d0| 33 2e 20 74 68 65 20 64 | 69 6d 65 6e 73 69 6f 6e |3. the d|imension|
|000002e0| 20 6f 66 20 74 68 65 20 | 73 68 61 64 6f 77 20 2d | of the |shadow -|
|000002f0| 3e 20 5c 73 64 69 6d 0a | 25 20 20 20 20 20 20 20 |> \sdim.|% |
|00000300| 20 20 20 20 54 6f 20 75 | 73 65 20 74 68 69 73 20 | To u|se this |
|00000310| 66 69 6c 65 20 70 75 74 | 20 69 74 20 69 6e 20 74 |file put| it in t|
|00000320| 68 65 20 70 72 65 61 6d | 62 6c 65 2c 20 61 73 20 |he pream|ble, as |
|00000330| 75 73 75 61 6c 3a 0a 25 | 20 20 20 20 20 20 20 20 |usual:.%| |
|00000340| 20 20 20 5c 64 6f 63 75 | 6d 65 6e 74 73 74 79 6c | \docu|mentstyl|
|00000350| 65 5b 2e 2e 2e 2c 73 68 | 61 64 6f 77 2c 2e 2e 2e |e[...,sh|adow,...|
|00000360| 5d 7b 2e 2e 2e 7d 0a 25 | 0a 25 20 53 69 6e 74 61 |]{...}.%|.% Sinta|
|00000370| 78 3a 20 20 20 5c 73 68 | 61 62 6f 78 7b 3c 74 65 |x: \sh|abox{<te|
|00000380| 78 74 3e 7d 0a 25 20 20 | 20 20 20 20 20 20 20 20 |xt>}.% | |
|00000390| 20 77 68 65 72 65 20 3c | 74 65 78 74 3e 20 69 73 | where <|text> is|
|000003a0| 20 74 68 65 20 74 65 78 | 74 20 74 6f 20 62 65 20 | the tex|t to be |
|000003b0| 70 75 74 20 69 6e 20 74 | 68 65 20 66 72 61 6d 65 |put in t|he frame|
|000003c0| 64 20 62 6f 78 2e 20 49 | 74 20 63 61 6e 0a 25 20 |d box. I|t can.% |
|000003d0| 20 20 20 20 20 20 20 20 | 20 20 62 65 20 61 6e 20 | | be an |
|000003e0| 65 6e 74 69 72 65 20 70 | 61 72 61 67 72 61 70 68 |entire p|aragraph|
|000003f0| 2e 0a 25 20 45 78 61 6d | 70 6c 65 3a 20 20 5c 73 |..% Exam|ple: \s|
|00000400| 68 61 62 6f 78 7b 54 68 | 69 73 20 69 73 20 61 6e |habox{Th|is is an|
|00000410| 20 65 78 61 6d 70 6c 65 | 2e 7d 0a 25 0a 25 20 41 | example|.}.%.% A|
|00000420| 75 74 68 6f 72 3a 20 20 | 20 4d 61 75 72 6f 20 4f |uthor: | Mauro O|
|00000430| 72 6c 61 6e 64 69 6e 69 | 0a 25 20 20 20 20 20 20 |rlandini|.% |
|00000440| 20 20 20 20 20 4e 41 53 | 41 2f 47 6f 64 64 61 72 | NAS|A/Goddar|
|00000450| 64 20 53 70 61 63 65 20 | 46 6c 69 67 68 74 20 43 |d Space |Flight C|
|00000460| 65 6e 74 65 72 20 2d 20 | 47 72 65 65 6e 62 65 6c |enter - |Greenbel|
|00000470| 74 2c 20 4d 44 20 32 30 | 37 37 31 20 2d 20 55 53 |t, MD 20|771 - US|
|00000480| 41 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 4f 52 |A.% | OR|
|00000490| 4c 41 4e 44 49 4e 49 40 | 4c 48 45 41 56 58 2e 53 |LANDINI@|LHEAVX.S|
|000004a0| 50 41 4e 2e 4e 41 53 41 | 2e 47 4f 56 20 20 20 28 |PAN.NASA|.GOV (|
|000004b0| 42 69 74 6e 65 74 29 0a | 25 20 20 20 20 20 20 20 |Bitnet).|% |
|000004c0| 20 20 20 20 4f 52 4c 41 | 4e 44 49 4e 49 40 4c 48 | ORLA|NDINI@LH|
|000004d0| 45 41 56 58 2e 47 53 46 | 43 2e 4e 41 53 41 2e 47 |EAVX.GSF|C.NASA.G|
|000004e0| 4f 56 20 20 20 28 49 6e | 74 65 72 6e 65 74 29 0a |OV (In|ternet).|
|000004f0| 25 20 20 20 20 20 20 20 | 20 20 20 20 36 32 32 34 |% | 6224|
|00000500| 3a 3a 4f 52 4c 41 4e 44 | 49 4e 49 20 20 20 20 20 |::ORLAND|INI |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 53 50 | | (SP|
|00000520| 41 4e 29 0a 25 0a 5c 6e | 65 77 64 69 6d 65 6e 5c |AN).%.\n|ewdimen\|
|00000530| 73 68 74 20 20 5c 6e 65 | 77 64 69 6d 65 6e 5c 73 |sht \ne|wdimen\s|
|00000540| 68 77 20 20 5c 6e 65 77 | 62 6f 78 5c 73 68 62 6f |hw \new|box\shbo|
|00000550| 78 0a 5c 6e 65 77 64 69 | 6d 65 6e 5c 73 62 6f 78 |x.\newdi|men\sbox|
|00000560| 73 65 70 20 20 5c 6e 65 | 77 64 69 6d 65 6e 5c 73 |sep \ne|wdimen\s|
|00000570| 62 6f 78 72 75 6c 65 20 | 20 5c 6e 65 77 64 69 6d |boxrule | \newdim|
|00000580| 65 6e 5c 73 64 69 6d 0a | 5c 73 62 6f 78 73 65 70 |en\sdim.|\sboxsep|
|00000590| 20 20 3d 20 31 30 70 74 | 0a 5c 73 64 69 6d 20 20 | = 10pt|.\sdim |
|000005a0| 20 20 20 3d 20 34 70 74 | 0a 5c 73 62 6f 78 72 75 | = 4pt|.\sboxru|
|000005b0| 6c 65 20 3d 20 2e 34 70 | 74 0a 5c 64 65 66 5c 73 |le = .4p|t.\def\s|
|000005c0| 68 61 62 6f 78 23 31 7b | 5c 73 65 74 62 6f 78 5c |habox#1{|\setbox\|
|000005d0| 40 74 65 6d 70 62 6f 78 | 61 5c 68 62 6f 78 7b 23 |@tempbox|a\hbox{#|
|000005e0| 31 7d 0a 5c 73 68 77 5c | 77 64 5c 40 74 65 6d 70 |1}.\shw\|wd\@temp|
|000005f0| 62 6f 78 61 20 20 0a 5c | 69 66 64 69 6d 5c 73 68 |boxa .\|ifdim\sh|
|00000600| 77 3c 5c 74 65 78 74 77 | 69 64 74 68 20 0a 20 20 |w<\textw|idth . |
|00000610| 5c 6c 65 61 76 65 76 6d | 6f 64 65 5c 73 65 74 62 |\leavevm|ode\setb|
|00000620| 6f 78 5c 40 74 65 6d 70 | 62 6f 78 61 5c 68 62 6f |ox\@temp|boxa\hbo|
|00000630| 78 7b 23 31 7d 0a 5c 65 | 6c 73 65 0a 20 20 5c 74 |x{#1}.\e|lse. \t|
|00000640| 79 70 65 6f 75 74 7b 53 | 68 61 64 6f 77 20 57 61 |ypeout{S|hadow Wa|
|00000650| 72 6e 69 6e 67 3a 20 42 | 6f 78 20 64 69 6d 65 6e |rning: B|ox dimen|
|00000660| 73 69 6f 6e 20 67 72 65 | 61 74 65 72 20 74 68 61 |sion gre|ater tha|
|00000670| 6e 20 74 65 78 74 77 69 | 64 74 68 2e 7d 0a 20 20 |n textwi|dth.}. |
|00000680| 5c 73 65 74 62 6f 78 5c | 40 74 65 6d 70 62 6f 78 |\setbox\|@tempbox|
|00000690| 61 5c 76 62 6f 78 7b 5c | 68 73 69 7a 65 5c 74 65 |a\vbox{\|hsize\te|
|000006a0| 78 74 77 69 64 74 68 5c | 61 64 76 61 6e 63 65 5c |xtwidth\|advance\|
|000006b0| 68 73 69 7a 65 2d 32 5c | 73 62 6f 78 73 65 70 0a |hsize-2\|sboxsep.|
|000006c0| 20 20 20 20 20 20 20 5c | 61 64 76 61 6e 63 65 5c | \|advance\|
|000006d0| 68 73 69 7a 65 2d 32 5c | 73 62 6f 78 72 75 6c 65 |hsize-2\|sboxrule|
|000006e0| 20 5c 61 64 76 61 6e 63 | 65 5c 68 73 69 7a 65 2d | \advanc|e\hsize-|
|000006f0| 5c 73 64 69 6d 23 31 7d | 0a 5c 66 69 0a 20 5c 73 |\sdim#1}|.\fi. \s|
|00000700| 65 74 62 6f 78 5c 73 68 | 62 6f 78 5c 68 62 6f 78 |etbox\sh|box\hbox|
|00000710| 7b 5c 40 74 65 6d 70 64 | 69 6d 61 5c 73 62 6f 78 |{\@tempd|ima\sbox|
|00000720| 72 75 6c 65 0a 20 20 20 | 20 20 5c 61 64 76 61 6e |rule. | \advan|
|00000730| 63 65 5c 40 74 65 6d 70 | 64 69 6d 61 20 5c 73 62 |ce\@temp|dima \sb|
|00000740| 6f 78 73 65 70 20 5c 61 | 64 76 61 6e 63 65 5c 40 |oxsep \a|dvance\@|
|00000750| 74 65 6d 70 64 69 6d 61 | 20 5c 64 70 5c 40 74 65 |tempdima| \dp\@te|
|00000760| 6d 70 62 6f 78 61 0a 20 | 20 20 20 5c 68 62 6f 78 |mpboxa. | \hbox|
|00000770| 7b 5c 6c 6f 77 65 72 20 | 5c 40 74 65 6d 70 64 69 |{\lower |\@tempdi|
|00000780| 6d 61 5c 68 62 6f 78 0a | 20 20 20 7b 5c 76 62 6f |ma\hbox.| {\vbo|
|00000790| 78 7b 5c 68 72 75 6c 65 | 20 5c 40 68 65 69 67 68 |x{\hrule| \@heigh|
|000007a0| 74 20 5c 73 62 6f 78 72 | 75 6c 65 0a 20 20 20 20 |t \sboxr|ule. |
|000007b0| 20 20 20 20 20 20 20 5c | 68 62 6f 78 7b 5c 76 72 | \|hbox{\vr|
|000007c0| 75 6c 65 20 5c 40 77 69 | 64 74 68 20 5c 73 62 6f |ule \@wi|dth \sbo|
|000007d0| 78 72 75 6c 65 20 5c 68 | 73 6b 69 70 5c 73 62 6f |xrule \h|skip\sbo|
|000007e0| 78 73 65 70 0a 20 20 09 | 20 20 20 20 5c 76 62 6f |xsep. .| \vbo|
|000007f0| 78 7b 5c 76 73 6b 69 70 | 5c 73 62 6f 78 73 65 70 |x{\vskip|\sboxsep|
|00000800| 20 5c 62 6f 78 5c 40 74 | 65 6d 70 62 6f 78 61 5c | \box\@t|empboxa\|
|00000810| 76 73 6b 69 70 5c 73 62 | 6f 78 73 65 70 7d 5c 68 |vskip\sb|oxsep}\h|
|00000820| 73 6b 69 70 0a 09 20 09 | 09 20 5c 73 62 6f 78 73 |skip.. .|. \sboxs|
|00000830| 65 70 5c 76 72 75 6c 65 | 20 5c 40 77 69 64 74 68 |ep\vrule| \@width|
|00000840| 20 5c 73 62 6f 78 72 75 | 6c 65 7d 0a 09 20 09 20 | \sboxru|le}.. . |
|00000850| 20 20 5c 68 72 75 6c 65 | 20 5c 40 68 65 69 67 68 | \hrule| \@heigh|
|00000860| 74 20 5c 73 62 6f 78 72 | 75 6c 65 7d 7d 7d 7d 0a |t \sboxr|ule}}}}.|
|00000870| 5c 73 68 74 5c 68 74 5c | 73 68 62 6f 78 20 5c 61 |\sht\ht\|shbox \a|
|00000880| 64 76 61 6e 63 65 5c 73 | 68 74 2d 5c 73 64 69 6d |dvance\s|ht-\sdim|
|00000890| 0a 5c 6c 65 61 76 65 76 | 6d 6f 64 65 5c 76 62 6f |.\leavev|mode\vbo|
|000008a0| 78 7b 5c 62 61 73 65 6c | 69 6e 65 73 6b 69 70 30 |x{\basel|ineskip0|
|000008b0| 70 74 5c 6c 69 6e 65 73 | 6b 69 70 30 70 74 0a 20 |pt\lines|kip0pt. |
|000008c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 5c 68 62 6f | | \hbo|
|000008d0| 78 7b 5c 63 6f 70 79 5c | 73 68 62 6f 78 5c 76 72 |x{\copy\|shbox\vr|
|000008e0| 75 6c 65 20 77 69 64 74 | 68 5c 73 64 69 6d 20 68 |ule widt|h\sdim h|
|000008f0| 65 69 67 68 74 5c 73 68 | 74 7d 0a 20 20 20 20 20 |eight\sh|t}. |
|00000900| 20 20 20 20 20 20 20 20 | 5c 68 62 6f 78 7b 5c 6b | |\hbox{\k|
|00000910| 65 72 6e 5c 73 64 69 6d | 5c 76 72 75 6c 65 20 68 |ern\sdim|\vrule h|
|00000920| 65 69 67 68 74 5c 73 64 | 69 6d 20 77 69 64 74 68 |eight\sd|im width|
|00000930| 20 5c 77 64 5c 73 68 62 | 6f 78 7d 7d 7d 0a 25 0a | \wd\shb|ox}}}.%.|
|00000940| 25 20 45 6e 64 20 6f 66 | 20 53 48 41 44 4f 57 2e |% End of| SHADOW.|
|00000950| 53 54 59 0a 25 0a 0a | |STY.%.. | |
+--------+-------------------------+-------------------------+--------+--------+